package tables

import (
	"time"
)

type YogaOrderSub struct {
	Id            int       `xorm:"not null pk autoincr INT(10)" json:"id" form:"id" mapstructure:"id"`
	OrderNo       string    `xorm:"" json:"order_no" form:"order_no" mapstructure:"order_no"`
	SubMchId      string    `xorm:"" json:"sub_mch_id" form:"sub_mch_id" mapstructure:"sub_mch_id"`
	Integral      int       `xorm:"" json:"integral" form:"integral" mapstructure:"integral"`
	CouponId      int       `xorm:"" json:"coupon_id" form:"coupon_id" mapstructure:"coupon_id"`
	IntegralMoney float32   `xorm:"" json:"integral_money" form:"integral_money" mapstructure:"integral_money"`
	CouponMoney   float32   `xorm:"" json:"coupon_money" form:"coupon_money" mapstructure:"coupon_money"`
	CreatedAt     time.Time `xorm:"created" json:"created_at" form:"created_at" mapstructure:"created_at"`
	UpdatedAt     time.Time `xorm:"updated" json:"updated_at" form:"updated_at" mapstructure:"updated_at"`
	DeletedAt     time.Time `xorm:"deleted" json:"deleted_at" form:"deleted_at" mapstructure:"deleted_at"`
	Yprice        string    `xorm:"" json:"yprice" form:"yprice" mapstructure:"yprice"`
	Price         string    `xorm:"" json:"price" form:"price" mapstructure:"price"`
	Acid          int       `xorm:"" json:"acid" form:"acid" mapstructure:"acid"`
}
